home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form frmMenuSelect
- Caption = "SGWindow - MenuItemSelected Event"
- ClientHeight = 2535
- ClientLeft = 3465
- ClientTop = 3675
- ClientWidth = 5805
- LinkTopic = "Form1"
- ScaleHeight = 2535
- ScaleWidth = 5805
- Begin VB.PictureBox picStatBar
- Align = 2 'Align Bottom
- Height = 315
- Left = 0
- ScaleHeight = 255
- ScaleWidth = 5745
- TabIndex = 0
- Top = 2220
- Width = 5805
- End
- Begin VB.Label Label1
- Caption = $"MenuSelect.frx":0000
- Height = 1812
- Left = 120
- TabIndex = 1
- Top = 180
- Width = 5352
- WordWrap = -1 'True
- End
- Begin VB.Menu mnuFile
- Caption = "&File"
- Begin VB.Menu mnuFileNew
- Caption = "&New"
- Shortcut = ^{F7}
- End
- Begin VB.Menu mnuFileOpen
- Caption = "&Open"
- End
- Begin VB.Menu mnuFileClose
- Caption = "&Close"
- End
- Begin VB.Menu mnuFileBar1
- Caption = "-"
- End
- Begin VB.Menu mnuFileSave
- Caption = "&Save"
- End
- Begin VB.Menu mnuFileSaveAs
- Caption = "Save &As..."
- End
- Begin VB.Menu mnuFileSaveAll
- Caption = "Save A&ll"
- End
- Begin VB.Menu mnuFileBar2
- Caption = "-"
- End
- Begin VB.Menu mnuFileProperties
- Caption = "Propert&ies"
- End
- Begin VB.Menu mnuFileBar3
- Caption = "-"
- End
- Begin VB.Menu mnuFilePageSetup
- Caption = "Page Set&up..."
- End
- Begin VB.Menu mnuFilePrintPreview
- Caption = "Print Pre&view"
- End
- Begin VB.Menu mnuFilePrint
- Caption = "&Print..."
- End
- Begin VB.Menu mnuFileBar4
- Caption = "-"
- End
- Begin VB.Menu mnuFileSend
- Caption = "Sen&d..."
- End
- Begin VB.Menu mnuFileBar5
- Caption = "-"
- End
- Begin VB.Menu mnuFileMRU
- Caption = ""
- Index = 0
- Visible = 0 'False
- End
- Begin VB.Menu mnuFileMRU
- Caption = ""
- Index = 1
- Visible = 0 'False
- End
- Begin VB.Menu mnuFileMRU
- Caption = ""
- Index = 2
- Visible = 0 'False
- End
- Begin VB.Menu mnuFileMRU
- Caption = ""
- Index = 3
- Visible = 0 'False
- End
- Begin VB.Menu mnuFileBar6
- Caption = "-"
- Visible = 0 'False
- End
- Begin VB.Menu mnuFileExit
- Caption = "E&xit"
- End
- End
- Begin VB.Menu mnuEdit
- Caption = "&Edit"
- Begin VB.Menu mnuEditUndo
- Caption = "&Undo"
- End
- Begin VB.Menu mnuEditBar1
- Caption = "-"
- End
- Begin VB.Menu mnuEditCut
- Caption = "Cu&t"
- End
- Begin VB.Menu mnuEditCopy
- Caption = "&Copy"
- End
- Begin VB.Menu mnuEditPaste
- Caption = "&Paste"
- End
- Begin VB.Menu mnuEditPasteSpecial
- Caption = "Paste &Special..."
- End
- End
- Begin VB.Menu mnuView
- Caption = "&View"
- Begin VB.Menu mnuViewToolbar
- Caption = "&Toolbar"
- Checked = -1 'True
- End
- Begin VB.Menu mnuViewStatusBar
- Caption = "Status &Bar"
- Checked = -1 'True
- End
- Begin VB.Menu mnuViewBar2
- Caption = "-"
- End
- Begin VB.Menu mnuViewRefresh
- Caption = "&Refresh"
- End
- Begin VB.Menu mnuViewOptions
- Caption = "&Options..."
- End
- End
- Begin VB.Menu mnuHelp
- Caption = "&Help"
- Begin VB.Menu mnuHelpContents
- Caption = "&Contents"
- End
- Begin VB.Menu mnuHelpSearch
- Caption = "&Search For Help On..."
- End
- Begin VB.Menu mnuHelpBar1
- Caption = "-"
- End
- Begin VB.Menu mnuHelpAbout
- Caption = "&About Project1..."
- End
- End
- Attribute VB_Name = "frmMenuSelect"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Private WithEvents mclsMenu As MenuSelect
- Attribute mclsMenu.VB_VarHelpID = -1
- Private Sub Form_Load()
- Set mclsMenu = New MenuSelect
- mclsMenu.hWnd = Me.hWnd
- End Sub
- Private Sub mclsMenu_MenuItemSelected(Caption As String)
- picStatBar.Cls
- picStatBar.Print " " & Caption
- End Sub
-